package com.example.day03;

import lombok.RequiredArgsConstructor;

/**
 * @author jeff
 * @since 2023/4/30 17:46
 */
@RequiredArgsConstructor
public enum UserStatus  implements ConstantEnumIFace<UserStatus> {

    DISABLE(2,"禁用"),
    ENABLE(3,"启用");

    private final int value;
    private final String desc;

    @Override
    public int getValue() {
        return value;
    }
    @Override
    public UserStatus[] theEnums() {
        return UserStatus.values();
    }
}

